package com.ecut.property_project.model.room;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

public class RoomAssess {
    private Integer assessId;

    /**
    * ！？区域
    */
    private String region;

    /**
    * ！？项目信息
    */
    private String projectInfo;

    /**
    * ！？楼栋
    */
    private String buildingName;

    /**
    * ！？楼层
    */
    private String floor;

    /**
    * ！？套房
    */
    private String suiteName;

    /**
    * ！？房间
    */
    private String roomName;

    /**
    * 评估单价
    */
    private BigDecimal assessPrice;

    /**
    * 评估有效开始日期
    */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date startDate;

    /**
    * 评估有效结束日期
    */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date endDate;

    /**
    * 平均单价
    */
    private BigDecimal averagePrice;

    /**
    * 评估公司名称
    */
    private String assessCompany;

    /**
    * 备注
    */
    private String note;

    /**
    * 表头
    */
    private String headId;

    public Integer getAssessId() {
        return assessId;
    }

    public void setAssessId(Integer assessId) {
        this.assessId = assessId;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getProjectInfo() {
        return projectInfo;
    }

    public void setProjectInfo(String projectInfo) {
        this.projectInfo = projectInfo;
    }

    public String getBuildingName() {
        return buildingName;
    }

    public void setBuildingName(String buildingName) {
        this.buildingName = buildingName;
    }

    public String getFloor() {
        return floor;
    }

    public void setFloor(String floor) {
        this.floor = floor;
    }

    public String getSuiteName() {
        return suiteName;
    }

    public void setSuiteName(String suiteName) {
        this.suiteName = suiteName;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public BigDecimal getAssessPrice() {
        return assessPrice;
    }

    public void setAssessPrice(BigDecimal assessPrice) {
        this.assessPrice = assessPrice;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public BigDecimal getAveragePrice() {
        return averagePrice;
    }

    public void setAveragePrice(BigDecimal averagePrice) {
        this.averagePrice = averagePrice;
    }

    public String getAssessCompany() {
        return assessCompany;
    }

    public void setAssessCompany(String assessCompany) {
        this.assessCompany = assessCompany;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getHeadId() {
        return headId;
    }

    public void setHeadId(String headId) {
        this.headId = headId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", assessId=").append(assessId);
        sb.append(", region=").append(region);
        sb.append(", projectInfo=").append(projectInfo);
        sb.append(", buildingName=").append(buildingName);
        sb.append(", floor=").append(floor);
        sb.append(", suiteName=").append(suiteName);
        sb.append(", roomName=").append(roomName);
        sb.append(", assessPrice=").append(assessPrice);
        sb.append(", startDate=").append(startDate);
        sb.append(", endDate=").append(endDate);
        sb.append(", averagePrice=").append(averagePrice);
        sb.append(", assessCompany=").append(assessCompany);
        sb.append(", note=").append(note);
        sb.append(", headId=").append(headId);
        sb.append("]");
        return sb.toString();
    }
}